home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ für Kids
/
C++ for kids.iso
/
SETUP
/
CBUILDER
/
DATA.Z
/
BITSET.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1997-02-20
|
219 b
|
15 lines
#include <bitset>
#include <iostream.h>
using namespace std;
int main ()
{
bitset<8> b;
b |= 5;
#ifndef RWSTD_NO_NONTYPE_ARGS
cout << b << endl; // results in 00000101
#endif
return 0;
}